package cn.cdqf.rabbitmq.param;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Map;

@Data
@Builder
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class RabbitMqParam implements Serializable {

    @NotBlank
     private String message;
    private String exchange;
    private String routKey;
   private  Map properties;
}
